package com.zenithmind.note.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * 笔记标签DTO
 */
@Data
@Schema(description = "笔记标签DTO")
public class NoteTagDTO {
    
    @Schema(description = "标签ID")
    private String id;
    
    @Schema(description = "标签名称")
    @NotBlank(message = "标签名称不能为空")
    @Size(max = 50, message = "标签名称长度不能超过50个字符")
    private String name;
    
    @Schema(description = "标签颜色")
    @Size(max = 20, message = "标签颜色长度不能超过20个字符")
    private String color;
    
    @Schema(description = "标签图标")
    @Size(max = 100, message = "标签图标长度不能超过100个字符")
    private String icon;
    
    @Schema(description = "排序")
    private Integer sort;
} 